package com.gec.model.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.gec.model.base.BaseEntity;
import lombok.Data;

import java.util.List;

@Data
public class TCategory extends BaseEntity {

    private String title;

    private String pid;

    private Integer sort;

    private Long likeCount;

    private String description;

    private String normalCover;

    private String hotCover;

    private String creator;

    private String updater;

    // 子列表
    @TableField(exist = false)
    private List<TCategory> children;
}